package org.com.behavioralPattern.observerPattern;

/**
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/27 16:39
 */
public class ChangeCoordinateObserver implements ClickableObserver {
    @Override
    public void clicked(Clickable clickable) {
        Button b=(Button) clickable;
        b.x=100;
        b.y=90;
    }
}
